var Student = /** @class */ (function () {
    function Student(name, age) {
        this.name = name;
        this.age = age;
    }
    Student.prototype.getDetails = function () {
        return "".concat(this.name, " is ").concat(this.age, " years old.");
    };
    return Student;
}());
var student = new Student("John Doe", 20);
console.log(student.getDetails());
